<?php
	
	require 'configDB.php';

	$NIK = $_POST['NIK'];
	$id_matpel = $_POST['id_matpel'];
	$id = $_POST['id'];

	$query = mysql_query("UPDATE penugasan_guru SET NIK='$NIK', id_matpel='$id_matpel' WHERE id='$id'");

	header("Location: ../laporan_penugasan_guru.php");

?>